#include "Size.h"

Size::Size(unsigned int width, unsigned int height)
    : width(width), height(height)
{
}

Size::~Size()
{
}

bool Size::operator==(const Size& other) const
{
    return (width == other.width) && (height == other.height);
}

Size Size::scale(double factor)
{
    return Size(factor*width, factor*height);
}
